package org.jeecg.modules.yfGyfwh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.annotation.Nullable;
import javax.validation.constraints.Null;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 营区公寓房维护
 * @Author: jeecg-boot
 * @Date:   2020-07-12
 * @Version: V1.0
 */
@ApiModel(value="hq_yf_gyfwh对象", description="营区公寓房维护")
@Data
@TableName("hq_yf_gyfwh")
public class HqYfGyfwh implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

    /*姓名*/
    private String xingm;

    /*所属单位*/
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "所属单位")
    private String suosdw;

    /*电话*/
    private  String  phone;

	/**营区名称*/
	@Excel(name = "营区", width = 15)
    @ApiModelProperty(value = "营区")
    private String yingqmc;
	/**坐落编号*/
	@Excel(name = "坐落编号", width = 15)
    @ApiModelProperty(value = "坐落编号")
    private String zuolbh;
	/**栋号*/
	@Excel(name = "栋号", width = 15)
    @ApiModelProperty(value = "栋号")
    private String dongh;

    /*楼栋-单元号-房间*/
	@Excel(name = "栋单位房号", width = 15)
    @ApiModelProperty(value = "栋单位房号")
    private String dongdf;

    @Excel(name = "住房类型", width = 15, dicCode = "shenqlx")
    @Dict(dicCode = "shenqlx")
    private String zhuflx;

    @Excel(name = "起算时间", width = 15)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "起算时间")
    private Date qissj;

    @Excel(name = "现缴时间", width = 15)
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "现缴时间")
    private Date xianjsj;

    /*房租标准*/
    @Dict(dicCode = "fangzlx")
    private String fangzbz;

    /*房屋面积*/
    private  Double area;

    /*应缴费*/
    private Double yingj;

    /*已缴费*/
    private  Double yij;

    /*欠缴费*/
    private Double qianj;

    /*车位号*/
    private  String chew;

    /*备注*/
    private  String beiz;

    /*取钥时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date quysj;

    /*门禁*/
    private String menj;


	/**住用单位*/
	@Excel(name = "住用单位", width = 15)
    @ApiModelProperty(value = "住用单位")
    private String zhuydw;
	/**营区地址*/
	@Excel(name = "营区地址", width = 15)
    @ApiModelProperty(value = "营区地址")
    private String yingqdz;
	/**住房性质*/
	@Excel(name = "住房性质", width = 15)
    @ApiModelProperty(value = "住房性质")
    private String zhufxz;
	/**单元号*/
	@Excel(name = "单元号", width = 15)
    @ApiModelProperty(value = "单元号")
    private String danyh;
	/**楼层*/
	@Excel(name = "楼层", width = 15)
    @ApiModelProperty(value = "楼层")
    private String louc;
	/**房间*/
	@Excel(name = "房间", width = 15)
    @ApiModelProperty(value = "房间")
    private String fangj;
	/**建筑年代*/
	@Excel(name = "建筑年代", width = 15)
    @ApiModelProperty(value = "建筑年代")
    private String jianznd;
	/**朝向*/
	@Excel(name = "朝向", width = 15)
    @ApiModelProperty(value = "朝向")
    private String chaox;
	/**入住时间*/
	@Excel(name = "入住时间", width = 15)
    @ApiModelProperty(value = "入住时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String ruzsj;
	/**登记人*/
	@Excel(name = "登记人", width = 15)
    @ApiModelProperty(value = "登记人")
    private String dengjr;
	/**登记时间*/
	@Excel(name = "登记时间", width = 15)
    @ApiModelProperty(value = "登记时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private String dengjsj;
}
